package com.yanqu.controller;

public class CollectInfo {

    private long serverId;

    private long size;

    private int times;

    public CollectInfo(long serverId, long size) {
        this.serverId = serverId;
        this.size = size;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public void addSize(long size){
        this.size += size;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public void addTimes(int times){
        this.times += times;
    }
}